
  /* STD temp,  NTP */

#define  DET_TCOMP_STD_PRES  14.7
#define  DET_TCOMP_STD_TEMP  298.15

#define  DET_TCOMP_STD_PRES_IU    ((U_INT16)(DET_TCOMP_STD_PRES*(68947.57/160)))
#define  DET_TCOMP_STD_TEMP_IU    ((U_INT16)(DET_TCOMP_STD_TEMP*64))

  /* CORrection temp, used for determining delta's */

#define  DET_TCOMP_COR_PRES  15.3
#define  DET_TCOMP_COR_TEMP  313.0

#define  DET_TCOMP_COR_PRES_IU    ((U_INT16)(DET_TCOMP_COR_PRES*(68947.57/160)))
#define  DET_TCOMP_COR_TEMP_IU    ((U_INT16)(DET_TCOMP_COR_TEMP*64))

#define CORRECT_TABLE_SIZE     32
#define CORRECT_SCALE       32768

#define DET_FLOW_IU_SCALE    (2048*128)


#define PS_dT_SCALING       16384

#define OFFSET_GAIN_SCALE   16384

#define TCOMP_STD_TEMP_IU   ( (273.15+25) * 64 )


/***********************************************/
/* scaling for the purge regulator             */
/***********************************************/

#define DF_DP_SCALE             65536   /* scaling for the internal storage,  f_iu / p_iu */


#define FS_ALPHA_SCALING     13.0
#define FS_BETA_SCALING      1e6
#define FS_DALPHA_SCALING    10
#define FS_DBETA_SCALING     1e9
#define FS_DOFFSET_SCALING   1000


#define DEFAULT_V25C         0x570d
#define DEFAULT_DV           ((INT16)0xf2c6)
#define DEFAULT_DT           0x03c0


